package cn.lizemin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author lzm
 * @version 1.0
 * @description: 启动类
 * @date 2022/3/8 14:34
 */
@SpringBootApplication
@EnableDiscoveryClient//开启服务注册客户端  consul server
@EnableFeignClients //开启OpenFeign调用
public class OpenFeignHystrixApplication {
    /**
     * 程序的入口
     */
    public static void main(String[] args) {
        SpringApplication.run(OpenFeignHystrixApplication.class, args);
    }

}
